import { Config, Inject, Provide } from '@midwayjs/decorator';
import { BaseService } from '@cool-midway/core';
import { BizWorkerListEntity } from '../entity/list';
import { BizWorkerIntroduceEntity } from '../entity/introduce';
import { BizWorkerWorkDatesEntity } from '../entity/workDates';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';

/**
 * 师傅表服务
 */
@Provide()
export class BizWorkerListService extends BaseService {
  @InjectEntityModel(BizWorkerListEntity)
  bizWorkerListEntity: Repository<BizWorkerListEntity>;
  @InjectEntityModel(BizWorkerIntroduceEntity)
  bizWorkerIntroduceEntity: Repository<BizWorkerIntroduceEntity>;
  @InjectEntityModel(BizWorkerWorkDatesEntity)
  bizWorkerWorkDatesEntity: Repository<BizWorkerWorkDatesEntity>;
}
